<div id="page">
  <header id="header" role="banner">
    <?php if ($logo): ?>
      <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo"><img src="<?php print base_path() . 'sites/all/themes/aijia/images/aijia_logo.png'; ?>" alt="<?php print t('Home'); ?>" /></a>
    <?php endif; ?>
    
    <div id="hd-right">
    	<div id="accountbar">
      	<ul class="account-buttons">
        	<?php 
            if(!$logged_in) {
              print '<li>' . l(t('注册/登陆'),'user/login') . '</li>';
            }else{
              print '<li>' . l($user->name, 'user/'.$user->uid) . '</li><li>' .  l(t('管理'),'admin')  . '</li><li>' . l(t('退出'),'user/logout') . '</li>';
            }
          ?>
         
          <li class="last">
          	<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo"><?php print t('客服代表'); ?></a>
          </li>
        </ul>
      </div>
      <div id="alt-nav">
				<ul>
					<li><a href="<?php print $front_page; ?>"><?php print t('护肤贴士'); ?></a></li>
					<li><a href="<?php print $front_page; ?>"><?php print t('为什么选择艾嘉'); ?></a></li>
					<li><a href="<?php print $front_page; ?>"><?php print t('我的肌肤分析'); ?></a></li>
					<li><a href="<?php print $front_page; ?>"><?php print t('店铺查询'); ?></a></li>
          <li><a href="<?php print $front_page; ?>"><?php print t('在线订购'); ?></a></li>
				</ul>
			</div>
    </div>
  </header>
  
 	<?php require 'nav.inc'; ?>

  <div id="main">

    <div id="count">
      <div id="breadcrumb">
      <?php print $breadcrumb; ?>
     </div>
      <?php print $messages; ?>
      
      <?php print render($page['content']); ?>
     
    </div><!-- /#count-->

  </div><!-- /#main -->

  <?php require 'footer.php'; ?>

</div><!-- /#page -->

<?php print render($page['bottom']); ?>
